package com.zh.media.utils;

public final class Constants {
    // 网络请求相关的常量
    public static final String BASE_URL = "https://esl.vigiot.com:13005/api";
   //public static final String BASE_URL = "http://192.168.0.107:9933";
    //布局方式
    public static final String LAYOUT_URL = BASE_URL+"/esl/esl_device_info/mediaScreen/layout";
    //获取AD播放规则
    public static final String GET_AD_PLAYRULES = BASE_URL+"/esl/ad_rules/mediaScreen/adPlayRules";
    //时钟同步
    public static final String GET_TIME = BASE_URL+"/esl/esl_device_info/mediaScreen/time/sync";
    //核对进入配置页面的秘钥
    public static final String GET_CHECK_SETTING = BASE_URL+"/esl/esl_device_info/mediaScreen/check/settingPage";
    //TOKEN续期
    public static final String GET_NEW_TOKEN = BASE_URL+"/sys/auth/token/device";
    public static final String GET_TOKEN_URL = BASE_URL+"/sys/auth/device";  //获取token
    public static final int CONNECTION_TIMEOUT = 10000; // 连接超时时间（毫秒）
    public static final int READ_TIMEOUT = 20000; // 读取超时时间（毫秒）
    public static final int BG_ZERO = 0; // 读取超时时间（毫秒）
    public static final int BG_ONE = 1; //
    public static final int BG_TWO = 2; //
    public static final int BG_THREE = 3; //
    public static final int BG_FOUER = 4; //
    public static final int BG_FIVE = 5; //
    public static final int BG_SIX = 6; //
    public static final int BG_SEVEN = 7; //
    public static final int BG_EIGHT = 8; //
    public static final int BG_NINE = 9; //
    public static final int BG_TEN = 10; //

    // 其他常量可以继续添加
    public static final String PREFERENCES_NAME = "MyAppPreferences";
    public static final String USER_ID_KEY = "userId";


}

